<html>
	<head>
		<title>Div height calculation</title>
		<style type="text/css">
			.A
			{
				width: 100px;
				border: 1px solid #F30F30;
				height: 100px;
			}
		</style>
	</head>
	
	<body>
		<div id="A" style="A">
			Test div element
		</div>
		
		<script type="text/javascript" language="JavaScript">
			alert(document.getElementById("A").offsetHeight);
			document.getElementById("A").style.minHeight= '100px';
			alert(document.getElementById("A").style.minHeight)
		</script>
	</body>
</html>